﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>page</title>
<link href="../Public/css/style_ru.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./Public/Js/jquery.min.js" ></script>
</head>

<body>

<div class="box">
<div id="top_logo"><div class="logocon"><a href="http://www.{$domain}" ><img src="http://www.{$domain}/images/logo.gif"  /></a></div>
  <ul class="lgrgcon"><li><img src="../Public/images/TS.jpg" /></li><li>Безопасные торговые<br />транзакция конфиденциальности</li><li>
<img src="../Public/images/TS_2.jpg" /></li></ul>
</div>
<form method="post" action="" name="form1" id="form1"> 
<div id="headpro">

 <ul class="head_nav"><li class="STYLE1">Список продуктов</li></ul>
     <table class="protable" cellspacing="1">
           <tr><td class="pta">Наименование</td><td class="pta">цена</td><td class="pta">количество</td><td class="pta">единовременный</td>
           <td class="pta">удалять</td></tr>
           <volist name="a" id="cart">
          <tr><td>{$cart.pbody}</td>
          <td><span class="STYLE6">{$currency}</span> {$cart.price|number_format=###,0}</td>
          
          <td>
          <input type="hidden" name="domain" id="domain" value="{@a.domain}" />
		  <input type="hidden" name="currency_code" id="currency_code" value="{$currency_code}" />
          <input id="num{$cart.productcode}" name="n_{$cart.productcode}"  type="text" size="5" value="{$cart.num}" onChange="ChangeTotal(this);" maxlength="5" />
          <input class="cen" type="image" name="submit" src="../Public/images/rutp_2.png" />
          </td><td><span class="STYLE6">{$currency}</span>  {$cart.n_price|number_format=###,0}</td>
          <td><a href="?a=delid&pidmo={$cart.productcode}&domain={@a.domain}&currency_code={$currency_code}">удалять</a></td></tr>
          </volist>
       </table>

</div>

<div id="barlf">
     <ul class="lfa"><li class="STYLE1">вид транспорта</li></ul>
     <ul class="lfb">
     <li class="lfba">грузовой  ：</li>
     
     <li><strong><span id="LiteralGrandTotal"><span id="LiteralShippingSubtotal"><span class="STYLE6">{$currency}</span>   {$a_prices-$a_price|number_format=###,0}</span></span></strong></li>
     
     <li class="lfba">Наименование  ：</li>
     <li><span class="STYLE6"><strong><span id="LiteralProductSubtotal">{$currency}</span></strong></span><strong><span id="LiteralProductSubtotal"> {$a_price|number_format=###,0}</span></strong></li>
     <li class="lfba">общая сумма  ：</li>
     <li><span class="STYLE5">{$currency}</span>  <strong><span id="total_js">{$a_prices|number_format=###,0}</span></strong></li></ul>
     <p class="left_p1">
                <label>вид транспорта  ：</label>
                <select id="ListBoxShipping" size="4" onchange="shipping(this.value)">
				<option selected="selected" value="Air Mail,{@a.logisticsprice1}">
                Air Mail({$currency}  {@a.logisticsprice1})</option>
				<option value="UPS/EMS Express,{@a.logisticsprice2}">UPS/DHL Express({$currency}  {@a.logisticsprice2})</option>
				</select>
    </p>
  			
       <p class="lf_p2"><span class="STYLE3">★</span><span class="STYLE2"> Вам не нужно платить дополнительные пошлины.<br />
</span><span class="STYLE3">★</span><span class="STYLE2">Быстрая перевозка грузов<br />
</span><span class="STYLE3">★</span><span class="STYLE2">Добро пожаловать в интернет- методов оплаты для завершения сделки.<br />
</span><span class="STYLE3">★</span><span class="STYLE2">Конфиденциальная информация для Вашего магазина, информационная безопасность.
<br />
      </span> </p>
      <div class="con_shop"><a href="http://www.{$domain}" ><img src="../Public/images/Continue_ru.png"/></a></div>
</div>
			<input type="hidden" name="mo_b" id="mo_b" value="{$a_price|number_format=###,0}" />
			<input type="hidden" name="mo_bb" id="mo_bb" value="{$a_price|number_format=###,0}" />
			<input type="hidden" name="proallnum" id="proallnum" value="{$proallnum}" />
<script type="text/javascript">

function ChangeTotal(num)
{	var a=parseInt($(num).val());
	if(!isNaN(a))
	{
		if(a<1)
		{
			$(num).val(1);
		}else
		{
			$(num).val(a);
		}
	}else{
		$(num).val(1);
	}
	$("#form1").submit(); 
}

function shipping(val){
	
str=val.split(",");
$('#transportation').val(str[0]);
$('#logisticsprice').val(str[1]);
shipping2=parseFloat(str[1])*$('#proallnum').val();
$('#LiteralShippingSubtotal').html('<span style="font-size:14px; color:#0132CC; font-weight:bold;"> {$currency} </span>'+shipping2.toFixed(0));
mo_bb=$('#mo_bb').val();
reg=/,/gi;
mo_bb=mo_bb.replace(reg,'');
str[1]=parseFloat(mo_bb)+parseFloat(str[1])*$('#proallnum').val();
str[1]=str[1].toFixed(0);
str[1]=CommaFormatted(str[1]);
//$('#LiteralProductSubtotal').html('{$currency} '+str[1]);
$('#mo_b').val(str[1]);
$('#total_js').html($('#mo_b').val());
}

function CommaFormatted(amount) {
    var delimiter = ",";
    amount = new String(amount);
    var a = amount.split('.',2)
    var d = a[1];
    var i = parseInt(a[0]);
    if(isNaN(i)) { return ''; }
    var minus = '';
    if(i < 0) { minus = '-'; }
    i = Math.abs(i);
    var n = new String(i);
    var a = [];
    while(n.length > 3)
    {
        var nn = n.substr(n.length-3);
        a.unshift(nn);
        n = n.substr(0,n.length-3);
    }
    if(n.length > 0) { a.unshift(n); }
    n = a.join(delimiter);
    //if(d.length < 1) { amount = n; }
    //else { amount = n + '.' + d; }
    amount = n;
    amount = minus + amount;
    return amount;
}



</script>
</form>
 <form method="post" action="?m=Index&a=sendorder" id="form11" onsubmit="return userinfo()">
<div id="barrg">
<ul class="rga"><li class="STYLE1">Информация о клиенте</li></ul>
<table class="lbpro" cellspacing="5">
    <tr>
    <td class="rlb1">имя  ：</td>
    <td><input type="text" name="first_name" id="yjfirst_name"/>&nbsp;&nbsp;<font color=#ff0000><span id="first_nameshow"></span></font>  <span class="STYLE4">*</span></td>
    </tr>
    <tr>
    <td class="rlb1">фамилия  ：</td>
    <td><input type="text" name="last_name" id="yjlast_name"/>&nbsp;&nbsp;<font color=#ff0000><span id="last_nameshow"></span></font><span class="STYLE4">*</span></td>
    </tr>
    <tr>
    <td class="rlb1">Адрес 1  ：</td>
    <td><input type="text" name="address1" id="yjaddress1" size="40" /><font color=#ff0000><span id="address1show"></span><span class="STYLE4">*</span></font></td>
    </tr>
    <tr>
    <td class="rlb1">Адрес 2  ：</td>
    <td><input type="text" name="address2" size="40" /></td>
    </tr>
    <tr>
    <td class="rlb1">почтовый индекс  ：</td>
    <td><input type="text" name="zip" id="yjzip"/><font color=#ff0000><span id="zipshow"></span><span class="STYLE4">*</span></font></td>
    </tr>
      <tr>
    <td class="rlb1">Сити  ：</td>
    <td><input type="text" name="city" id="yjcity"/><font color=#ff0000><span id="cityshow"></span><span class="STYLE4">*</span></font></td>
    </tr>
    <tr><td class="rlb1">состояние ：</td><td><input type="text" name="state" id="yjstate"/><font color=#ff0000><span id="stateshow"></span><span class="STYLE4">*</span></font></td></tr>
      <tr>
    <td class="rlb1">страна  ：</td>
    <td><select id='country'  name=client_countryship  onchange="updatecountry();" class="rlb1a"> 
<option value="">Choose a Country</option>
<option value="RU" selected="">Russia</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AD">Andorra</option>
<option value="AO">Angola</option>
<option value="AI">Anguilla</option>
<option value="AG">Antigua and Barbuda</option>
<option value="AR">Argentina</option>
<option value="AM">Armenia</option>
<option value="AW">Aruba</option>
<option value="AU">Australia</option>
<option value="AT">Austria</option>
<option value="AZ">Azerbaijan Republic</option>
<option value="BS">Bahamas</option>
<option value="BH">Bahrain</option>
<option value="BB">Barbados</option>
<option value="BE">Belgium</option>
<option value="BZ">Belize</option>
<option value="BJ">Benin</option>
<option value="BM">Bermuda</option>
<option value="BT">Bhutan</option>
<option value="BO">Bolivia</option>
<option value="BA">Bosnia and Herzegovina</option>
<option value="BW">Botswana</option>
<option value="BR">Brazil</option>
<option value="BN">Brunei</option>
<option value="BG">Bulgaria</option>
<option value="BF">Burkina Faso</option>
<option value="BI">Burundi</option>
<option value="KH">Cambodia</option>
<option value="CA">Canada</option>
<option value="CV">Cape Verde</option>
<option value="KY">Cayman Islands</option>
<option value="TD">Chad</option>
<option value="CL">Chile</option>
<option value="C2">China</option>
<option value="CO">Colombia</option>
<option value="KM">Comoros</option>
<option value="CK">Cook Islands</option>
<option value="CR">Costa Rica</option>
<option value="HR">Croatia</option>
<option value="CY">Cyprus</option>
<option value="CZ">Czech Republic</option>
<option value="CD">Democratic Republic of the Congo</option>
<option value="DK">Denmark</option>
<option value="DJ">Djibouti</option>
<option value="DM">Dominica</option>
<option value="DO">Dominican Republic</option>
<option value="EC">Ecuador</option>
<option value="SV">El Salvador</option>
<option value="ER">Eritrea</option>
<option value="EE">Estonia</option>
<option value="ET">Ethiopia</option>
<option value="FK">Falkland Islands</option>
<option value="FO">Faroe Islands</option>
<option value="FJ">Fiji</option>
<option value="FI">Finland</option>
<option value="FR">France</option>
<option value="GF">French Guiana</option>
<option value="PF">French Polynesia</option>
<option value="GA">Gabon Republic</option>
<option value="GM">Gambia</option>
<option value="DE">Germany</option>
<option value="GI">Gibraltar</option>
<option value="GR">Greece</option>
<option value="GL">Greenland</option>
<option value="GD">Grenada</option>
<option value="GP">Guadeloupe</option>
<option value="GT">Guatemala</option>
<option value="GN">Guinea</option>
<option value="GW">Guinea Bissau</option>
<option value="GY">Guyana</option>
<option value="HN">Honduras</option>
<option value="HK">Hong Kong</option>
<option value="HU">Hungary</option>
<option value="IS">Iceland</option>
<option value="IN">India</option>
<option value="ID">Indonesia</option>
<option value="IE">Ireland</option>
<option value="IL">Israel</option>
<option value="IT">Italy</option>
<option value="JM">Jamaica</option>
<option value="JP">Japan</option>
<option value="JO">Jordan</option>
<option value="KZ">Kazakhstan</option>
<option value="KE">Kenya</option>
<option value="KI">Kiribati</option>
<option value="KW">Kuwait</option>
<option value="KG">Kyrgyzstan</option>
<option value="LA">Laos</option>
<option value="LV">Latvia</option>
<option value="LS">Lesotho</option>
<option value="LI">Liechtenstein</option>
<option value="LT">Lithuania</option>
<option value="LU">Luxembourg</option>
<option value="MG">Madagascar</option>
<option value="MW">Malawi</option>
<option value="MY">Malaysia</option>
<option value="MV">Maldives</option>
<option value="ML">Mali</option>
<option value="MT">Malta</option>
<option value="MH">Marshall Islands</option>
<option value="MQ">Martinique</option>
<option value="MR">Mauritania</option>
<option value="MU">Mauritius</option>
<option value="YT">Mayotte</option>
<option value="MX">Mexico</option>
<option value="FM">Micronesia</option>
<option value="MN">Mongolia</option>
<option value="MS">Montserrat</option>
<option value="MA">Morocco</option>
<option value="MZ">Mozambique</option>
<option value="NA">Namibia</option>
<option value="NR">Nauru</option>
<option value="NP">Nepal</option>
<option value="NL">Netherlands</option>
<option value="AN">Netherlands Antilles</option>
<option value="NC">New Caledonia</option>
<option value="NZ">New Zealand</option>
<option value="NI">Nicaragua</option>
<option value="NE">Niger</option>
<option value="NU">Niue</option>
<option value="NF">Norfolk Island</option>
<option value="NO">Norway</option>
<option value="OM">Oman</option>
<option value="PW">Palau</option>
<option value="PA">Panama</option>
<option value="PG">Papua New Guinea</option>
<option value="PE">Peru</option>
<option value="PH">Philippines</option>
<option value="PN">Pitcairn Islands</option>
<option value="PL">Poland</option>
<option value="PT">Portugal</option>
<option value="QA">Qatar</option>
<option value="CG">Republic of the Congo</option>
<option value="RE">Reunion</option>
<option value="RO">Romania</option>
<option value="RW">Rwanda</option>
<option value="KN">Saint Kitts and Nevis Anguilla</option>
<option value="PM">Saint Pierre and Miquelon</option>
<option value="VC">Saint Vincent and Grenadines</option>
<option value="WS">Samoa</option>
<option value="SM">San Marino</option>
<option value="ST">São Tomé and Príncipe</option>
<option value="SA">Saudi Arabia</option>
<option value="SN">Senegal</option>
<option value="SC">Seychelles</option>
<option value="SL">Sierra Leone</option>
<option value="SG">Singapore</option>
<option value="SK">Slovakia</option>
<option value="SI">Slovenia</option>
<option value="SB">Solomon Islands</option>
<option value="SO">Somalia</option>
<option value="ZA">South Africa</option>
<option value="KR">South Korea</option>
<option value="ES">Spain</option>
<option value="LK">Sri Lanka</option>
<option value="SH">St. Helena</option>
<option value="LC">St. Lucia</option>
<option value="SR">Suriname</option>
<option value="SJ">Svalbard and Jan Mayen Islands</option>
<option value="SZ">Swaziland</option>
<option value="SE">Sweden</option>
<option value="CH">Switzerland</option>
<option value="TW">Taiwan</option>
<option value="TJ">Tajikistan</option>
<option value="TZ">Tanzania</option>
<option value="TH">Thailand</option>
<option value="TG">Togo</option>
<option value="TO">Tonga</option>
<option value="TT">Trinidad and Tobago</option>
<option value="TN">Tunisia</option>
<option value="TR">Turkey</option>
<option value="TM">Turkmenistan</option>
<option value="TC">Turks and Caicos Islands</option>
<option value="TV">Tuvalu</option>
<option value="UG">Uganda</option>
<option value="UA">Ukraine</option>
<option value="AE">United Arab Emirates</option>
<option value="GB">United Kingdom</option>
<option value="US">United States</option>
<option value="UY">Uruguay</option>
<option value="VU">Vanuatu</option>
<option value="VA">Vatican City State</option>
<option value="VE">Venezuela</option>
<option value="VN">Vietnam</option>
<option value="VG">Virgin Islands (British)</option>
<option value="WF">Wallis and Futuna Islands</option>
<option value="YE">Yemen</option>
<option value="ZM">Zambia</option></select> </td>
    </tr>
      <tr>
    <td class="rlb1">телефон  ：</td>
    <td><INPUT size=6 type="text" name="night_phone_a" id="yjnight_phone_a">
        <INPUT size=6 type="text" name="night_phone_b" id="yjnight_phone_b"> 
        <INPUT size=6 type="text" name="night_phone_c" id="yjnight_phone_c">
        <font color=#ff0000>
        <span id="night_phone_ashow"></span>
        <span id="night_phone_bshow"></span>
        <span id="night_phone_cshow"></span>
        <span class="STYLE4">*</span></font></td>
    </tr>
      <tr>
    <td class="rlb1">электронная почта  ：</td>
    <td><input type="text" name="email" id="yzemail"/><font color=#ff0000><span id="emailshow"></span><span class="STYLE4">*</span></font></td>
    </tr>
      <tr>
    <td class="rlb1">комментировать  ：</td>
    <td><textarea rows=5 cols=35 name=client_remark  class="rlb1a"></textarea></td>
    </tr>
</table>

<p class="rgtext">Если вы завершили выше информацию , перейдите на следующий шаг , чтобы завершить задачу задач торгового процесса. Се.<br />
<input type="image" src="../Public/images/next_1.png" align="center"/></p>
</div>

			<input type="hidden" name="country" id="recountry" value="" />
			<input type="hidden" name="tracking" id="tracking" value="1" />
			<input type="hidden" name="destination" id="destination" value="Afghanistan" />
			<input type="hidden" name="transportation" id="transportation" value="Air Mail" />
			<input type="hidden" name="logisticsprice" id="logisticsprice" value="{@a.logisticsprice1}" />
			<input type="hidden" name="domain" id="domain" value="{@a.domain}" />
            <input type="hidden" name="currency_code" id="currency_code" value="{$currency_code}" />

<div id="foot"></div>
</form>
<div style="clear:both;"></div>
</div>
<script type="text/javascript"><!--
 function showBilling(){
	    var bln_check = $('#isSame').attr('checked');
	    if(bln_check){
	        $('#div2').show();
	    }else{     
	        $('#div2').hide();   
	    }
	}

 function updatecountry(){
	 	
		document.getElementById('recountry').value=document.getElementById("country").value;
	}


	
--></script>
</body>
</html>
